package com.chb.entity;

/**
 * @description:
 * @author: CHB
 * @create: 2021-12-07 16:48
 **/
public class Pear extends Fruits{

    public Pear(){}

    public Pear(int weight){
        super.setWeight(weight);
    }
    @Override
    public void print(){
        System.out.println("pear");
    }
}
